/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: AliceMana
 * Date: 2022-09-07
 * Time: 20:34
 */

class MyArrayList<T> {

    public static void printAll(MyArrayList<? extends Number> list) {

    }

    public static void main(String[] args) {
        printAll(new MyArrayList<Integer>());
        printAll(new MyArrayList<Number>());
        printAll(new MyArrayList<Object>());
    }
    
}
public class TestDemo {

}
